package io.gitee.chearnee.fw.datasecurity.core.annotation;


import java.lang.annotation.*;

/**
 * 加解密注解
 *
 * @author kamjin1996
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.PARAMETER})
public @interface CryptField {

//    Class<? extends CryptExecutor> value() default DefaultCryptExecutor.class;

    /**
     * 加密
     */
    boolean encrypt() default true;

    /**
     * 解密
     */
    boolean decrypt() default true;
}
